package com.paypal.android.MEP.a;

import android.content.Context;
import android.graphics.drawable.GradientDrawable;
import android.graphics.drawable.GradientDrawable.Orientation;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.RelativeLayout.LayoutParams;
import android.widget.TextView;
import com.paypal.android.a.f;
import com.paypal.android.a.g;
import com.paypal.android.a.q;
import com.paypal.android.a.r;
import com.paypal.android.b.n;

public final class d extends n
  implements View.OnClickListener
{
  private Button a;

  public d(Context paramContext)
  {
    super(paramContext);
    setId(9005);
    LinearLayout localLinearLayout1 = new LinearLayout(paramContext);
    localLinearLayout1.setOrientation(1);
    localLinearLayout1.setLayoutParams(new RelativeLayout.LayoutParams(-1, -1));
    localLinearLayout1.setBackgroundDrawable(f.a());
    localLinearLayout1.setPadding(10, 5, 10, 5);
    localLinearLayout1.setGravity(1);
    localLinearLayout1.addView(new com.paypal.android.b.j(com.paypal.android.a.j.a("ANDROID_about_quickpay"), paramContext));
    LinearLayout localLinearLayout2 = new LinearLayout(paramContext);
    localLinearLayout2.setOrientation(1);
    localLinearLayout2.setLayoutParams(new RelativeLayout.LayoutParams(-1, -2));
    localLinearLayout2.setPadding(0, 0, 0, 15);
    GradientDrawable localGradientDrawable = new GradientDrawable(GradientDrawable.Orientation.TOP_BOTTOM, new int[] { -1, -1510918, -1510918, -1510918, -1510918, -1510918 });
    localGradientDrawable.setCornerRadius(10.0F);
    localGradientDrawable.setStroke(2, -8280890);
    localLinearLayout2.setBackgroundDrawable(localGradientDrawable);
    TextView localTextView1 = q.a(r.a, paramContext);
    localTextView1.setText(com.paypal.android.a.j.a("ANDROID_for_checkout"));
    localLinearLayout2.addView(localTextView1);
    TextView localTextView2 = q.a(r.b, paramContext);
    localTextView2.setText(com.paypal.android.a.j.a("ANDROID_quickpay_help"));
    localLinearLayout2.addView(localTextView2);
    localLinearLayout1.addView(localLinearLayout2);
    this.a = new Button(paramContext);
    this.a.setText(com.paypal.android.a.j.a("ANDROID_ok"));
    this.a.setLayoutParams(new RelativeLayout.LayoutParams(-1, f.b()));
    this.a.setGravity(17);
    this.a.setBackgroundDrawable(g.a());
    this.a.setTextColor(-16777216);
    this.a.setOnClickListener(this);
    LinearLayout localLinearLayout3 = new LinearLayout(paramContext);
    localLinearLayout3.setOrientation(1);
    localLinearLayout3.setLayoutParams(new RelativeLayout.LayoutParams(-1, -2));
    localLinearLayout3.setPadding(0, 15, 0, 0);
    localLinearLayout3.addView(this.a);
    localLinearLayout1.addView(localLinearLayout3);
    addView(localLinearLayout1);
  }

  public final void d()
  {
  }

  public final void e()
  {
  }

  public final void onClick(View paramView)
  {
    if (paramView == this.a)
      h.a();
  }
}

/* Location:           D:\Studium\Bachelorarbeit\BA Marcus Wobig\BA\BA\Decompiler\PicturePassword APK\Programm\PicturePassword_dex2jar.jar
 * Qualified Name:     com.paypal.android.MEP.a.d
 * JD-Core Version:    0.6.2
 */